// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BPT_APP
// * CreateDate    : 2014-06-05 18:29:41
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:41
// * LastChanger   : 2014-06-05 18:29:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BptAppTable : TableInfo
    {
		public const string C_TableName = "BPT_APP";
		
		public const string C_ID = "ID";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_APP_TYPE = "APP_TYPE";
		public const string C_APP_CODE = "APP_CODE";
		public const string C_REQUIRED_DATE = "REQUIRED_DATE";
		public const string C_SALES_APP_ID = "SALES_APP_ID";
		public const string C_SALES_APP_ITEM_ID = "SALES_APP_ITEM_ID";
		public const string C_ASSIGN_USER = "ASSIGN_USER";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_FINISHED_DATE = "FINISHED_DATE";
		public const string C_MATERIAL = "MATERIAL";
		public const string C_CONTRACT_MODEL = "CONTRACT_MODEL";
		public const string C_REMARK = "REMARK";
		public const string C_STATUS = "STATUS";
		
		public BptAppTable()
        {
            _tableName = "BPT_APP";
        }
		
		protected static BptAppTable _current;
        public static BptAppTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BptAppTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_APP_TYPE, new ColumnInfo(C_APP_TYPE,"AppType", false, typeof(string)));
            _current.Add(C_APP_CODE, new ColumnInfo(C_APP_CODE,"AppCode", false, typeof(string)));
            _current.Add(C_REQUIRED_DATE, new ColumnInfo(C_REQUIRED_DATE,"RequiredDate", false, typeof(DateTime)));
            _current.Add(C_SALES_APP_ID, new ColumnInfo(C_SALES_APP_ID,"SalesAppId", false, typeof(string)));
            _current.Add(C_SALES_APP_ITEM_ID, new ColumnInfo(C_SALES_APP_ITEM_ID,"SalesAppItemId", false, typeof(string)));
            _current.Add(C_ASSIGN_USER, new ColumnInfo(C_ASSIGN_USER,"AssignUser", false, typeof(string)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_FINISHED_DATE, new ColumnInfo(C_FINISHED_DATE,"FinishedDate", false, typeof(DateTime)));
            _current.Add(C_MATERIAL, new ColumnInfo(C_MATERIAL,"Material", false, typeof(string)));
            _current.Add(C_CONTRACT_MODEL, new ColumnInfo(C_CONTRACT_MODEL,"ContractModel", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo APP_TYPE
        {
            get { return this[C_APP_TYPE]; }
        }
		
		public ColumnInfo APP_CODE
        {
            get { return this[C_APP_CODE]; }
        }
		
		public ColumnInfo REQUIRED_DATE
        {
            get { return this[C_REQUIRED_DATE]; }
        }
		
		public ColumnInfo SALES_APP_ID
        {
            get { return this[C_SALES_APP_ID]; }
        }
		
		public ColumnInfo SALES_APP_ITEM_ID
        {
            get { return this[C_SALES_APP_ITEM_ID]; }
        }
		
		public ColumnInfo ASSIGN_USER
        {
            get { return this[C_ASSIGN_USER]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo FINISHED_DATE
        {
            get { return this[C_FINISHED_DATE]; }
        }
		
		public ColumnInfo MATERIAL
        {
            get { return this[C_MATERIAL]; }
        }
		
		public ColumnInfo CONTRACT_MODEL
        {
            get { return this[C_CONTRACT_MODEL]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

